home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
7_10.lha
/
7_10
/
p_pending.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
552b
|
14 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <process.h>
include <debug.h> /* DELETE */
nt process::pending()
if (debug) /*DELETE*/ cerr << "process" << this << "::pending()\n";
if (debug) /*DELETE*/ cerr << "\t" << this << "->t_curstate == " << ps_print(t_curstate) << "\n";
if (debug) /*DELETE*/ cerr << "<<<< process" << this << "::pending() <- " << (t_curstate != TASK_TERMINATED) << "\n";
return t_curstate != TASK_TERMINATED;